package com.huohuzhihui.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huohuzhihui.common.annotation.Excel;
import com.huohuzhihui.common.core.domain.BaseEntity;

/**
 * 商户抖音配置信息对象 mer_douyin
 * 
 * @author huohuzhihui
 * @date 2021-04-03
 */
public class MerDouyin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 机构id */
    @Excel(name = "机构id")
    private Long deptId;

    /** 抖音openid */
    @Excel(name = "抖音openid")
    private String openId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 地理位置id */
    @Excel(name = "地理位置id")
    private String poiId;

    /** 地理位置名称 */
    @Excel(name = "地理位置名称")
    private String poiName;

    /** 小程序id */
    @Excel(name = "小程序id")
    private String microAppId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getOpenId()
    {
        return openId;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setPoiId(String poiId) 
    {
        this.poiId = poiId;
    }

    public String getPoiId() 
    {
        return poiId;
    }
    public void setPoiName(String poiName) 
    {
        this.poiName = poiName;
    }

    public String getPoiName() 
    {
        return poiName;
    }
    public void setMicroAppId(String microAppId) 
    {
        this.microAppId = microAppId;
    }

    public String getMicroAppId() 
    {
        return microAppId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("openId", getOpenId())
            .append("nickname", getNickname())
            .append("poiId", getPoiId())
            .append("poiName", getPoiName())
            .append("microAppId", getMicroAppId())
            .toString();
    }
}
